
package com.springlearn.zhoufei.other.spring.demo7;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class JDCB1 {
    public static void main(String[] args) throws Exception {
        ApplicationContext context = new ClassPathXmlApplicationContext("./other/JDBC3.xml");
        StudentDAO dao = (StudentDAO) context.getBean("studentJDBCTemplate");
//        dao.insert();
//        dao.insert2();
//        dao.insert3();
//        dao.insert4();
        dao.insert5();
        
    }
}